package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.pojo.careerTalk;

import java.util.Date;


public interface MeetingService {

    //分页展示宣讲会信息
    IPage<careerTalk> findAllTalkList(Page<careerTalk> careerTalkPage);

    //根据类型查询
    IPage<careerTalk> sortByType(String type,Page<careerTalk> careerTalkPage);

    //根据关键字查询
    IPage<careerTalk> findByKey(String key,Page<careerTalk> careerTalkPage);

    //叠加查询
    IPage<careerTalk> multiFind(String type, String key, Page<careerTalk> careerTalkPage);

    //删除宣讲会信息
    void deleteMeeting(String name);

    //编辑宣讲会信息
    void editMeeting(careerTalk c);

    //新增宣讲会信息
    void addMeeting(careerTalk c);
}
